home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 6 (Reseller Edition)
/
Apple Ref. & Pres. Lib.v6.0.toast
/
pc
/
3-Presentations
/
Apple Demos
/
Training
/
HyperCard 2.0 Training
/
•HC 2.0-4
/
card_11025.txt
< prev
next >
Wrap
Text File
|
1990-04-06
|
5KB
|
216 lines
-- card: 11025 from stack: in.0-4
-- bmap block id: 17999
-- flags: 0000
-- background id: 7102
-- name: Ex 3.4
-- part 2 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=202 top=99 right=269 bottom=437
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 12
-- style flags: 0
-- line height: 12
-- part name:
-- part 1 (button)
-- low flags: 00
-- high flags: 0005
-- rect: left=186 top=97 right=125 bottom=426
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Windoid
----- HyperTalk script -----
on mouseUp
hide fld "feedback"
set hilite of me to not hilite of me
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 0005
-- rect: left=186 top=134 right=159 bottom=426
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Windoid
----- HyperTalk script -----
on mouseUp
hide fld "feedback"
set hilite of me to not hilite of me
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 0005
-- rect: left=186 top=170 right=195 bottom=426
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Windoid
----- HyperTalk script -----
on mouseUp
hide fld "feedback"
set hilite of me to not hilite of me
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 0005
-- rect: left=186 top=205 right=233 bottom=426
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Windoid
----- HyperTalk script -----
on mouseUp
hide fld "feedback"
set hilite of me to not hilite of me
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 0005
-- rect: left=185 top=241 right=268 bottom=425
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Windoid
----- HyperTalk script -----
on mouseUp
hide fld "feedback"
set hilite of me to not hilite of me
end mouseUp
-- part 13 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=348 top=321 right=339 bottom=462
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Correct Answer
----- HyperTalk script -----
-- This handler shows the correct answer.
on mouseUp
hideFeedback
dehiliteBtns
repeat 3
set hilite of cd btn 1 to false
set hilite of cd btn 2 to false
set hilite of cd btn 4 to false
set hilite of cd btn 5 to false
wait 25
set hilite of cd btn 1 to true
set hilite of cd btn 2 to true
set hilite of cd btn 4 to true
set hilite of cd btn 5 to true
wait 25
end repeat
ans 4
end mouseUp
-- part 10 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=400 top=298 right=318 bottom=461
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Done
----- HyperTalk script -----
-- This handler checks the user's answer.
-- The "ans" and "noAns" handlers are in the stack script.
on mouseUp
put empty into choices
repeat with i=1 to 5
if the hilite of btn i is true then
put i after choices
end if
end repeat
if choices is fld "answer" then ans 1
else if choices contains 3 then ans 2
else if length(choices) is 0 then noAns
else ans 3
end mouseUp
-- part contents for background part 9
----- text -----
4 of 7
-- part contents for background part 6
----- text -----
Select from the list below all the options that describe ways Styled Text could be used.
-- part contents for card part 2
----- text -----
Words in a field change to a larger font as they are “spoken” by the computer
Different styles are used to improve the look of a card
Words in a field change order as they are clicked until a sentence is created
Words that are HOT TEXT are in a different style
In a field holding a list of names the last names are bolded
-- part contents for background part 19
----- text -----
Correct. Styled text could be used in all these ways, and many more.
No. You have chosen an option that requires Hot Text, but not Styled Text. Try again.
You’ve gotten some of the answers. Look again and see how else Styled Text can be used. Try again.
This is the correct answer. Styled text can be used for aesthetic reasons and to give visual cues, but initiating actions requires Hot Text.
-- part contents for background part 21
----- text -----
1245